package com.hoseok.english;

public class User {
	
	private int id;
	private String userName;
	private int age;
	private String userInfo;
		
	public User(){
		
	}
	public User(int id, String userName, int age, String userInfo) {
		super();
		this.id = id;
		this.userName = userName;
		this.age = age;
		this.userInfo = userInfo;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(String userInfo) {
		this.userInfo = userInfo;
	}

	@Override
	public String toString() {
		return "User [age=" + age + ", id=" + id + ", userInfo=" + userInfo
				+ ", userName=" + userName + "]";
	}
	
		
}
